package g

/*
	Description: 从文件初始化全局配置

	Author: jerrylou, <gunsluo@gmail.com>
	Since:  2016/08/25
*/
func InitWithCfgFile(cfg string) {
	ParseConfig(cfg)
	InitAgentClient()
}

/*
	Description: 初始化全局配置

	Author: jerrylou, <gunsluo@gmail.com>
	Since:  2016/08/25
*/
func Init(c GlobalConfig) {
	SetConfig(&c)
	InitAgentClient()
}
